/* 
 * File:   AcptBase.h
 * Author: kisme
 *
 * Created on 26 December 2012, 10:14 PM
 */

#ifndef ACPTBASE_H
#define	ACPTBASE_H

// setNonblocking..
#include <fcntl.h>
// sockaddr_in..
#include <netinet/in.h>
// bzero..
#include <string.h>
// inet_ntoa..
#include <arpa/inet.h>
//
#include "../objt/ObjtBase.h"

struct Conf_AcptBase : public Conf_ObjtBase {
    // base conf
};

class AcptBase : public ObjtBase {
public:
    AcptBase();
    AcptBase(const AcptBase& orig);
    virtual ~AcptBase();
    //----------//
    /**
     * configure the socket's working mode
     */
    int setNonblock(int aFd);
private:

};

#endif	/* ACPTBASE_H */

